<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title></title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
	</head>
	  
	<body>
		<div class="list_pages">
		    <s:if test="#request.page.totalRecords>0">
				<table class="page_tab" id="page_tab" align="right">
					<tr style="color: #0078B6; font-size: 13px;">
						<td>
							<s:if test="#request.page.pageNo == 1 || #request.page.pageNo==0 ">
								<a title="上一页">
									<img width="6" height="10" src="<%=path%>/images/list/pre_first.gif">
								</a>
							</s:if>
							<s:else>
								<a href="javascript:pageSub('${page.prevPage}');" title="上一页">
									<img width="6" height="10" src="<%=path%>/images/list/pre.gif">
								</a>
							</s:else>
							&nbsp;&nbsp;
						</td>
						<td>
							第 &nbsp;&nbsp;${page.pageNo}/${page.totalPages}&nbsp;&nbsp;页，共&nbsp;&nbsp;${page.totalRecords}&nbsp;&nbsp;条记录，每页&nbsp;&nbsp;${page.pageSize}&nbsp;&nbsp;条&nbsp;&nbsp;
						</td>
						<td>
							<s:if test="#request.page.pageNo < #request.page.totalPages">
								<a href="javascript:pageSub('${page.nextPage}');" title="下一页">
									<img width="6" height="10" src="<%=path%>/images/list/next_end.gif">
								</a>
							</s:if>
							<s:else>
								<a title="下一页">
									<img width="6" height="10" src="<%=path%>/images/list/next.gif">
								</a>
							</s:else>
							&nbsp;&nbsp;
						</td>
						<td style="color: #787878;">
							转到第
							<input type="text" name="textfield" id="goToPage" value="${page.pageNo}" class="page_input" style="color: #787878;" />
							页&nbsp;
							<input type="button" name="btn_01" id="btn_01" class="page_btn" value="确定" onclick="pageSub($('#goToPage').val());" />
						</td>
					</tr>
				</table>
			</s:if>
			<s:else>
			    <table align="left" style="font-size:13px;">
					<tr>
						<td>
							暂无相关数据！
						</td>
					</tr>
				</table>

			</s:else>
		</div>
	</body>
</html>

